package com.xxg.renrensearch.domain.result;

import com.xxg.renrensearch.dao.Product;
import com.xxg.renrensearch.dao.RenrenShopShop;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 店铺与商品类
 *
 * @author xuxiaogang
 * @date 2021-11-25
 */
@Data
@NoArgsConstructor
public class ShopWithProducts {
    private RenrenShopShop shop;
    private boolean isMyShop;
    private List<Product> goods;
    private ExtraInfo extraInfo;

    public ShopWithProducts(RenrenShopShop shop, List<Product> goods) {
        this.shop = shop;
        this.goods = goods;
    }
}
